package me.monster.smarttraffic.ui.parking;

import java.util.Map;

import me.monster.smarttraffic.base.BaseView;
import me.monster.smarttraffic.base.IPresenter;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-12 20:31
 */
public interface ParkingContract {
    interface View extends BaseView {
        void showParkingInfo(Map<String, Boolean> parkingInfo);

        void showParkingPrice(String price);

        void setPriceResult(boolean result);
    }

    interface Presenter extends IPresenter<View> {
        void fetchParkingState();

        void setParkingPrice(String parkingPrice);

        void fetchParkingPrice();
    }
}
